FROM java:8
ADD mall-search/target//mall-search-1.0-SNAPSHOT.jar //
ENTRYPOINT ["java", "-jar","-server","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/var/logs/mall-search-gc.heap ", "/mall-search-1.0-SNAPSHOT.jar"]
